package com.yuanfeng.business.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yuanfeng.business.dto.ManageActivityGoodsAddDTO;
import com.yuanfeng.business.dto.ShopRecordDTO;
import com.yuanfeng.business.dto.ShopRegistrationDTO;
import com.yuanfeng.business.dto.UserTokenBeanDTO;
import com.yuanfeng.business.entity.ShopRegistrationEntity;
import com.yuanfeng.commoms.util.ResponseResult;

/**
 *
 */
public interface ShopRegistrationService extends IService<ShopRegistrationEntity> {

    /*
     * 新增专区报名活动
     */
    ResponseResult insertShopRegistration(ShopRegistrationDTO param);
    /**
     * 编辑商家专区报名活动
     * @param param
     * @return
     */

    ResponseResult updateShopRegistration(ShopRegistrationDTO param);


    /**
     * 查询专区详情
     * @param param
     * @return
     */
   ResponseResult queryShopRegistration(ShopRegistrationDTO param);

    /**
     * 删除商家专区报名活动
     * @param param
     * @return
     */

   ResponseResult deleteShopRegistration(ShopRegistrationDTO param);

    /*
     * 查询专区活动列表
     */
   ResponseResult selectShopRegistration(ShopRegistrationDTO param) throws IllegalAccessException;

    /**
     * @title queryActiveName
     * @description 获取商家可以参与的专区
     * @author s lj
     * @updateTime 2021/8/11 14:07
     * @throws
     */
    ResponseResult queryActiveName(UserTokenBeanDTO param);

    /**
     * 增加商品到活动专区
     *
     * @param param
     * @return
     */
    ResponseResult addActivityGoods(ManageActivityGoodsAddDTO param);

    /**
     * 查询当前系统的版本号
     * @return
     */
    ResponseResult selectNewVersion();

    /**
     * 查询最新的活动专区报名
     * @return
     */
    ResponseResult selectNewShopRegist();

    /**
     * 参与活动
     * @param param
     * @return
     */
    ResponseResult insertShopRecord(ShopRecordDTO param);
}
